﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DialogTreeSel.aspx.cs" Inherits="WebFormDev.Plugin.DialogTreeSel" %>

<%@ Register Assembly="DevExpress.Web.ASPxTreeList.v11.2" Namespace="DevExpress.Web.ASPxTreeList"
    TagPrefix="dx" %>
<%@ Register Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2" Namespace="DevExpress.Web.ASPxEditors"
    TagPrefix="dxe" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/DialogSel.js" type="text/javascript"></script>
</head>
<body style="margin: 0; padding: 0;">
<%=treeStyle%>
    <form id="form1" runat="server">
    
    <div style="margin-top:5px; padding-left:5px;">
        <dxe:ASPxButton AutoPostBack="false" Paddings-Padding="0" Image-Url="~/Images/imgButton/search.png"
                Image-Height="18" ID="btnSearch" Style="float: left; margin-left: 3px;" runat="server" Text="查询"
                >
                <%--<Paddings Padding="0"/>
                    <FocusRectPaddings Padding="0" />--%>
                <ClientSideEvents Click="function(s,e){alert('查询。');e.processOnServer = false;}" />
            </dxe:ASPxButton>

            <dxe:ASPxButton AutoPostBack="false" Paddings-Padding="0" Image-Url="~/Images/imgButton/Select.png"
                Image-Height="18" ID="btnSel" Style="float: left; margin-left: 3px;" runat="server" Text="选择"
                >
                <%--<Paddings Padding="0"/>
                    <FocusRectPaddings Padding="0" />--%>
                <ClientSideEvents Click="TreeBtnSel" />
            </dxe:ASPxButton>

            <dxe:ASPxButton AutoPostBack="false" Paddings-Padding="0" Image-Url="~/Images/imgButton/Close.png"
                Image-Height="18" ID="btnCancel" Style="float: left; margin-left: 3px;" runat="server" Text="关闭"
                >
                <%--<Paddings Padding="0"/>
                    <FocusRectPaddings Padding="0" />--%>
                <ClientSideEvents Click="BtnCancel" />
            </dxe:ASPxButton>
            <div style="clear:both;"></div>
    </div>
    <hr />
    </form>
    <script>
        $("tr[id*='ASPxTreeList1_R'],td[class*='dxtlIndentWithButton'],td[class*='dxtlIndent']").css("background-color", "transparent");
    </script>
</body>
</html>
